package com.zkthink.ceres.applet.authority.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * Created by kellen on 2020/5/3. 小程序登录DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CommonAppletLoginDTO", description = "普通登录")
public class CommonAppletLoginDTO implements Serializable {


    @ApiModelProperty(value = "手机号")
    @NotEmpty(message = "手机号不允许为空")
    private String account;

    @ApiModelProperty(value = "验证码")
    private String code;

    @ApiModelProperty(value = "密码")
    private String passWord;


    @ApiModelProperty(value = "经度")
    private String longitude = "116.3972282409668";

    @ApiModelProperty(value = "维度")
    private String latitude = "39.90960456049752";


}
